#ifndef __PLAYER_H__
#define __PLAYER_H__

#include <string>
#include <SDL/SDL.h>
#include <rapidxml.hpp>
#include "config.h"
#include "movement.h"
#include "texture.h"
#include "tickable.h"

class Player : public Moveable {
	public:
		Player (TickableList * tList);
		virtual ~Player ();

		void LoadConfig (rapidxml::xml_document<> & xml);
		void PrintInfo();
		void TakeDamage (int dmg);
		void Draw(SDL_Surface * screen, unsigned timestamp);
		void HandleWallStrike();
	private:
		std::string name;
		Texture texture;
};

#endif
